package cn.itlaobing.web.controller.management;

import cn.itlaobing.web.utils.IConstants;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class ManagementController extends BaseManagementController{
    //跳转登录界面
    @RequestMapping("login")
    public String login(HttpServletRequest request){
        return "management/login";
    }

    //跳转登录后台主界面
    @RequestMapping("index")
    public String index(){
        return "management/index";
    }

    //修改头像跳转页面
    @RequestMapping("systemuserheadimg")
    public String headimg(HttpServletRequest request){
        return "management/system_user_headimg";
    }

    //修改密码跳转页面
    @RequestMapping("systemuserpass")
    public String systemuserpass(HttpServletRequest request){
        return "management/system_user_pass";
    }
}
